var h_h	= "<div class='hlp_head'>Help</div><div class='hlp_txt'><br>&nbsp;&nbsp; Help - Window.<br><br></div>"
	
var t_rt = "<div class='hlp_head'>Random timer</div><div class='hlp_txt'>In set intervals the relay/socket is switched with 50% probability . It may happen that a several of successive intervals do not change the state of the relays. For this reason, you should avoid large intervals (intervals 3 x 2 hours = 6 hours).</div>"
	
var io_rel = "<div class='hlp_head'>Switch relay with I/O </div><div class='hlp_txt'>The relay can be switched thru IO's. The 'Control' determined the switching edge.</div>"
	
var io_fl = "<div class='hlp_head'>Switching edge</div><div class='hlp_txt'>If the function „Switch relay(s) thru I/O“ is used, with the „Control“ can be determined type of activation:\
	<br>\
	H - Level control: IO is high (H) = the relay is on; is IO low (L) = relay is off.<br>\
	LH - On at rising edge: from L (0) to H (1); off manually.<br>\
	HL - Off at falling edge from H to L; on manually.<br>\
	TL - Toggle on a rising edge from L to H.<br>\
	TH - Toggle on falling edge from H to L.</div>"
	
var io_inv = "<div class='hlp_head'>Invert</div><div class='hlp_txt'>Meaning the inversion is - regardless of the type of switching (NO or NC) - all desired keys represent the same.</div>"

if(parent.Typ!='o')
var io_pull = "<div class='hlp_head'>Pullup Resistor</div><div class='hlp_txt'>A pullup resistor 'pulls' the input to the logical '1' (approximately 2.5V). This allows to switch - connected between GND and an input - directly (without additional elements).</div>"	
else
var io_pull = "<div class='hlp_head'>IO Generator</div><div class='hlp_txt'>Because the IO input is galvanically isolated with an optocoupler, is generated to drive the IO input (without external voltage) a also galvanically isolated 70 kHz signal. It can be turned on or off and can be used simultaneously as an output signal.<br><br><img src='pic/IO.png'></div>"
	
var h_host = "<div class='hlp_head'>Host</div><div class='hlp_txt'>Host Name = name of the device must be unique on the network. No special characters or spaces may be used. Max. 15 characters.</div>"

var h_dhcp = "<div class='hlp_head'>DHCP</div><div class='hlp_txt'>Most networks have a DHCP server (also available in a DSL router), so the network setting is automated.\
 After switching device on the DHCP function provide all necessary parameters to connect to the network.<br />\
NET PwrCtrl can be called in the browser with the address: http://net-control.</div>"

var h_fest_ip = "<div class='hlp_head'>Fixed IP</div><div class='hlp_txt'>For a fixed IP of the network card the following parameters to be awarded:\
<p>IP: 192.168.0.1; <br>\
Subnet Mask: 255.255.255.0.<br>\
DHCP  off.</p>\
<p>NET PwrCtrl can to be called now via browser with the address: http://net-control or http://192.168.0.244.</p>\
<p>It involves factory parameters. It can of course also be entered any IP.</p></div>"

var h_port = "<div class='hlp_head'>HTTP Port</div><div class='hlp_txt'>0-65535<br>\
If the default port 80 have to be changed, because several units have to be addressed from the Internet or to operate HTTP server, must specify after the hostname ':' + port number: \ http://net-control:12345.</div>"

var h_mac = "<div class='hlp_head'>MAC</div><div class='hlp_txt'><b>MAC</b> must be unique on the network and can not be changed.<br />\
	The last three digits are the serial number.</div>"
	
var h_ajax = "<div class='hlp_head'>Ajax & UDP Port</div><div class='hlp_txt'>UDP & Ajax are interfaces that can be used to control from own application. Ajax can be used directly from the HTML with Javascript.</div>"	

if(parent.Typ!='o')
var h_ctrl = "<div class='hlp_head'>Control</div><div class='hlp_txt'><b>Sockets/Relays</b><br>\
<span style='background:#080;color:#FFF'>Green</span> = switched on<br>\
<span style='background:#624F4F;color:#FFF'>Brau</span> = switched off<br>\
<span style='background:#75997B;color:#FFF'>Light green</span> = blocked switched on<br>\
<span style='background:#958787;color:#FFF'>Light Brown</span> = blocked switched off<br>\
<br>\
<b>IO In-/Output</b><br>\
Output<br>\
<span style='background:#080;color:#FFF'>Green</span> = switched on<br>\
<span style='background:#624F4F;color:#FFF'>Brau</span> = switched off<br>\
Input<br>\
<span style='background:#75997B;color:#FFF'>Light green</span> = '1'<br>\
<span style='background:#958787;color:#FFF'>Light Brown</span> = '0'</div>"
else
var h_ctrl = "<div class='hlp_head'>Control</div><div class='hlp_txt'>Relays:<br>\
<span style='display:inline-block;background:#080;color:#FFF;width:70px'>Green</span> = switched on<br>\
<span style='display:inline-block;background:#624F4F;color:#FFF;width:70px'>Brau</span> = switched off<br>\
<span style='display:inline-block;background:#75997B;color:#FFF;width:70px'>Light green</span> = blocked switched on<br>\
<span style='display:inline-block;background:#958787;color:#FFF;width:70px'>Light Brown</span> = blocked switched off<br>\
<br>\
IO Input:<br>\
<span style='display:inline-block;background:#75997B;color:#FFF;width:70px'>Light green</span> = '1'<br>\
<span style='display:inline-block;background:#958787;color:#FFF;width:70px'>Light Brown</span> = '0'</div>"

var sv_name = "<div class='hlp_head'>Name</div><div class='hlp_txt'>The name of the relay/socket can max. amounted to 16 characters. Special characters can 'confuse' some browsers.</div>"

var sv_sper = "<div class='hlp_head'>Locking</div><div class='hlp_txt'>Locks relay/socket for control.</div>"

var sv_imp = "<div class='hlp_head'>Impuls</div><div class='hlp_txt'>Relay for the predetermined time (max 65535 seconds = 18.2h.):<br>\
	<br>\
	at chosen [on]  - swiched on (relay normal off).<br>\
	at chosen [off] - swiched off (relay normal on).<br>\
	<br>\
	It is used to control external devices that require a switching pulse. This function has the highest priority. All other switching operations (timers, etc.) will be switched as a pulse.</div>"

var sv_str = "<div class='hlp_head'>at Start</div><div class='hlp_txt'>After restarting (power failure) relay/socket has the following switching characteristics:\
		<ol>\
		<li>[off] - off at start.</li>\
		<li>[on] &nbsp;- on - possibly with delay [after (s)].</li>\
		<li>[rs] - restoring the last state - possibly with delay [after (s)].</li></ol>\
	<p>The delay may be a maximum of 65,535 seconds =1092 minutes, or 18.2 hours.</p></div>"

var sv_bt = "<div class='hlp_head'>Boot Time</div><div class='hlp_txt'>Displays elapsed seconds since the restart - for the time delay after the start important: It helps to see how far the boot process has progressed.</div>"

var sv_sw = "<div class='hlp_head'>Switch</div><div class='hlp_txt'>The relay/socket can be switched - for an interval of max. 65,535 seconds (18,2h) - on or off. The action performed, is indicated in the button and depends on the state of the relay/socket.</div>"

var sv_temp = "<div class='hlp_head'>Thermostat</div><div class='hlp_txt'>Relay/socket is switched, if the measured temperature according to the setting: is less than or greater. In order to avoid the repeated switching of the switching threshold is the hysteresis = ±0.5°C.</div>" 